import { Module } from '@nestjs/common';
import { UserService } from './user.service';
import { UserController } from './user.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import {UserEntity} from './entities/user.entity'
import { RateLimiterModule } from 'nestjs-fastify-rate-limiter';
import { ChatApiService } from '../chat-api/chat-api.service';
import { ChatApiModule } from '../chat-api/chat-api.module';
import { GptGroup } from '../chat-api/entities/gptgroup.entity';
import { GptMessage } from '../chat-api/entities/gptMessage.entity';
@Module({
  imports:[TypeOrmModule.forFeature([UserEntity]),RateLimiterModule,TypeOrmModule.forFeature([GptGroup,GptMessage])],
  controllers: [UserController,],
  providers: [UserService,ChatApiService]
})
export class UserModule {}
